package com.zhejiangzhengyuan.municipal_common.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.sql.Timestamp;

/**
 * @author lin_ju
 * Create on 2019/12/1
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="InspectionRecordManage", description="用于对巡检记录管理进行中，案件状态在处理中的查询的结果封装")
public class InspectionRecordManage {
    @ApiModelProperty(value = "自增主键")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "巡检任务标题")
    private String title;
    @ApiModelProperty(value = "巡检任务内容")
    private String context;
    @ApiModelProperty(value = "巡检结果描述,巡检中发现问题通过巡检事件上报")
    private String result;
    @ApiModelProperty(value = "巡检人员，关联用户表")
    private String username;
    @ApiModelProperty(value = "记录创建时间")
    private Timestamp createTime;
    @ApiModelProperty(value = "记录更新时间")
    private Timestamp updateTime;
    @ApiModelProperty(value = "巡检类型")
    private String type;
    @ApiModelProperty(value = "巡检区域")
    private String inspectionDistrict;
    @ApiModelProperty(value = "巡检周期类型")
    private String inspectionCycleType;
    @ApiModelProperty(value = "巡检周期次数")
    private Long inspectionCycleNumber;

}
